package com.ysj.mall.entity;

import java.util.Date;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * (YsjCartItems)表实体类
 *
 * @author makejava
 * @date 2024/09/10
 * @since 2024-09-10 14:50:36
 */
@SuppressWarnings("serial")
public class YsjCartItems extends Model<YsjCartItems> {


    /**
     *
     */
    private Integer id;

    /**
     *
     */
    private Integer cartId;

    /**
     *
     */
    private Integer productId;

    /**
     *
     */
    private Integer quantity;

    /**
     *
     */
    private Date addedAt;


    /**
     * @return {@link Integer}
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return {@link Integer}
     */
    public Integer getCartId() {
        return cartId;
    }

    /**
     * @param cartId
     */
    public void setCartId(Integer cartId) {
        this.cartId = cartId;
    }

    /**
     * @return {@link Integer}
     */
    public Integer getProductId() {
        return productId;
    }

    /**
     * @param productId
     */
    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    /**
     * @return {@link Integer}
     */
    public Integer getQuantity() {
        return quantity;
    }

    /**
     * @param quantity
     */
    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    /**
     * @return {@link Date}
     */
    public Date getAddedAt() {
        return addedAt;
    }

    /**
     * @param addedAt
     */
    public void setAddedAt(Date addedAt) {
        this.addedAt = addedAt;
    }


}

